﻿@{
    Layout = "~/Views/Shared/_AddEdit.cshtml";
}
@section header{
    <script>
        function SaveSuccessCallBack(res) {
            alert(res.message);
            close();
            return true;
        }
        function close() {
            try {
                parent.HideModal('popEdit');
            } catch (e) {
                try {
                    parent.win.removewin(parent.win.currentwin);
                } catch (e) {
                    parent.location.href = '../Login/Login';
                }
            };
        }
    </script>
}

<div class="poppan">
    <table>
        <tr>
            <td>用户名</td>
            <td>@ViewBag.sshowname</td>
        </tr>
        <tr>
            <td>原密码*</td>
            <td><input type="password" name="_oldpass" autocomplete="off" class="layui-input" /></td>
        </tr>
        <tr>
            <TD>新密码*</TD>
            <TD><input type="password" name="_newpass" autocomplete="off" class="layui-input" /></TD>
        </tr>
        <tr>
            <td>确认密码*</td>
            <td><input type="password" name="_chkpass" autocomplete="off" class="layui-input" /></td>
        </tr>
    </table>
</div>
@section fooler{
<script>
    $("#form1").css("width", "400px");
    $("#btn_close").hide();
</script>       
}